package com.ruoyi.hospital.domain.operation;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 首页Banner对象 operation_banner
 * 
 * @author wendao
 * @date 2024-09-13
 */
public class OperationBanner extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** banner图 */
    private String img;

    /** 类型 */
    @Excel(name = "类型",dictType = "banner_type")
    private Integer type;

    /** 跳转类型 */
    @Excel(name = "跳转类型",dictType = "skip_type")
    private Integer skipType;

    /** 启用状态 */
    @Excel(name = "启用状态",dictType = "is_enabled")
    private Integer state;

    /** 删除时间 */
    private Integer deleteTime;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setSkipType(Integer skipType) 
    {
        this.skipType = skipType;
    }

    public Integer getSkipType() 
    {
        return skipType;
    }

    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img", getImg())
            .append("type", getType())
            .append("skipType", getSkipType())
            .append("remark", getRemark())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
